Piwik\Plugins\UserCountry\LocationProvider A

Total Complexity 64
Dependencies 10
Dependents 20
Total lines 508
Lines of code 201
Logical lines of code 118
Comment lines 208
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
prettyFormatLocation()
A
45 14 40
completeLocationResult()
A
49 11 34
getAllProviderInfo()
S
45 6 42
getAllProviders()
S
62 4 12
getProviderById()
S
66 4 8
getIpFromInfo()
S
65 3 8
getCurrentProviderId()
S
66 3 8
getAvailableProviders()
S
66 3 9
setCurrentProvider()
S
63 2 11
getLocationProviders()
S
67 2 8
getUsageWarning()
S
82 1 3
isAvailable()
S
100 1 0
isVisible()
S
82 1 3
activate()
S
91 1 2
renderSetUpGuide()
S
82 1 3
getCurrentProvider()
S
79 1 3
renderConfiguration()
S
82 1 3
getSupportedLocationInfo()
S
100 1 0
getId()
S
76 1 4
getInfo()
S
100 1 0
isWorking()
S
100 1 0
getLocation()
S
100 1 0